package com.cyj.springtx1.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @description:
 * @Author C_Y_J
 * @create 2021-03-04 09:59
 **/
@Data
@Accessors(chain = true)
@TableName("a_user")
public class User {
    @TableId(type = IdType.ID_WORKER)
    private Long id;
    private String userName;
    private Integer money;
}
